
#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <BLineEdit>
#include <BButton>
#include <BTcpSocket>
#include <BMainWindow>

using namespace BWE;

class MainWindow : public BMainWindow
{
public:
	MainWindow();
	~MainWindow();

protected:
	virtual void recv(BObject* object, int signal, const BValue& value);
	virtual void updateEvent(const BEvent& event);

private:
	BLineEdit*		_accountEdit;
	BLineEdit*		_passwordEdit;
	BButton*	_ok;
	BButton*	_cancel;
	BTcpSocket*	_socket;
};

#endif